package com.aaa.sso.fegin;

import com.aaa.entity.LoginInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "his-open-system")
public interface LoginLogFegin {

    @PostMapping("/system/loginInfo/addLoginLog")
    public void addLoginLog(@RequestBody LoginInfo loginInfo);
}
